<?php
echo "<table border='1' width='300px'>";
for ($i = 0; $i < 10; $i++) {
    echo "<tr></tr>";
    for ($j = 1; $j <= $i; $j++) {
        $result = $i * $j;
        echo "<td>{$i}x{$j}=$result</td>";
    }
}
echo "</table>";
